<?php
/**
 + ------------------------------------
 * 公司简介 模型
 + ------------------------------------
 * @author ThankPHP
 + ------------------------------------
 * @copyright Power By ThankPHP
 + ------------------------------------
 * @link Http://www.thankphp.com
 + ------------------------------------
 */
class EnterpriseaboutModel extends Model {
	/**
	 * 设置关联查询
	 *
	 * @var unknown_type
	 */
	public $_link = array(
		array(
			'mapping_type' => BELONGS_TO,
			'class_name' => 'enterprise',
			'mapping_name' => 'enterprise',
			'foreign_key' => 'enter_id',
			'mapping_fields'=>'enter_id,name'
		),
	);
}